import { HttpRequest } from '@/shared/http/commonAxios'
export class UserInfoApi {
	static getUserInfo() {
		return HttpRequest.get('/user/userInfo')
	}

	/**
	 * 编辑用户
	 */
	static updateItem(data) {
		return HttpRequest.post('/user/update', data)
	}

	/**
	 * privateArticle
	 * 获取个人文章
	 */
	static privateArticle() {
		return HttpRequest.get('/user/privateArticle')
	}
}
